﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class L_ShouRuLog:NFinal.Struct
    {
		public System.Int32? ID {get;set;}
		public System.String OpenID {get;set;}
		public System.Decimal? ShouRu {get;set;}
		public System.String Type {get;set;}
		public System.DateTime? AddTime {get;set;}
		public System.String ShuoMing {get;set;}
		public System.Int32? tag {get;set;}
		public System.Int32? goumaiID {get;set;}
		public System.Int32? MoneyType {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"ID\":");
					tw.Write(ID==null?"null" : ID.ToString());
					tw.Write(",");
					tw.Write("\"OpenID\":");
					tw.Write("\"");
					tw.Write(OpenID==null?"null":OpenID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShouRu\":");
					tw.Write(ShouRu==null?"null" : ShouRu.ToString());
					tw.Write(",");
					tw.Write("\"Type\":");
					tw.Write("\"");
					tw.Write(Type==null?"null":Type);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"AddTime\":");
					tw.Write("\"");
					tw.Write(AddTime==null?"null":AddTime.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"ShuoMing\":");
					tw.Write("\"");
					tw.Write(ShuoMing==null?"null":ShuoMing);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"tag\":");
					tw.Write(tag==null?"null" : tag.ToString());
					tw.Write(",");
					tw.Write("\"goumaiID\":");
					tw.Write(goumaiID==null?"null" : goumaiID.ToString());
					tw.Write(",");
					tw.Write("\"MoneyType\":");
					tw.Write(MoneyType==null?"null" : MoneyType.ToString());
			tw.Write("}");
		}
		#endregion
    }
}
